﻿CREATE TABLE [dbo].[tblVendor] (
    [VendorCode] VARCHAR (12) NOT NULL,
    [Name]       VARCHAR (40) NULL,
    [ShortName]  VARCHAR (10) NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Defines a vendor', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblVendor';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The primary key.  The vendor code uniquely identifies a vendor.', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblVendor', @level2type = N'COLUMN', @level2name = N'VendorCode';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The name of the vendor', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblVendor', @level2type = N'COLUMN', @level2name = N'Name';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The abridged name of the vendor', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblVendor', @level2type = N'COLUMN', @level2name = N'ShortName';

